package Main;


import java.awt.GridLayout;

import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

public class westPanel extends JPanel{
	private static JLabel []label5;
	public  westPanel()
	{
		this.setLayout(new GridLayout(4,1));
		init();
	}
	private void init()
	{
		label5=new JLabel[4];
		for(int x=0;x<4;x++)
		{
			label5[x]=new JLabel();
			label5[x].setHorizontalAlignment(SwingConstants.CENTER);
			label5[x].setVerticalAlignment(SwingConstants.CENTER);
			this.add(label5[x]);
		}
		label5[0].setIcon(new ImageIcon("img\\up.jpg"));
		label5[1].setIcon(new ImageIcon("img\\right.jpg"));
		label5[3].setIcon(new ImageIcon("img\\down.jpg"));
		label5[2].setIcon(new ImageIcon("img\\left.jpg"));
		
		
	}
	public static JLabel[] getWestLabel5()
	{
		return label5;
	}

}
